public class Hello {
    public static void main(String[] args) {
        if (args.length == 0){
            System.out.println("Hello World!");
        }else {
            for (String target : args){
                System.out.println("Hello " + target);
            }
        }
    }
}
